package com.laiyima.zhongjiang.linghuilv.demo.util;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.laiyima.zhongjiang.linghuilv.demo.R;

public class UserAgreementActivity extends AppCompatActivity implements View.OnClickListener {
    private ImageView imageView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_agreement);
        imageView=findViewById(R.id.user_agreement_back);
        imageView.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        int id=v.getId();
        switch (id){
            case R.id.user_agreement_back:
                finish();
                break;
        }
    }
}
